package com.hll.erp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (Sell)实体类
 *
 * @author makejava
 * @since 2021-07-04 15:18:01
 */
@ApiModel(description = "出售记录")
@Data
public class Sell implements Serializable {
  private static final long serialVersionUID = 336145527808959471L;

  @ApiModelProperty(value = "记录id")
  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;
  /** 产品id */
  @ApiModelProperty(value = "产品id")
  private String pid;
  /** 销售数量 */
  @ApiModelProperty(value = "出售数量")
  private Integer sellNumber;
  /** 销售价格 */
  @ApiModelProperty(value = "出售价格")
  private Integer sellPrice;
  /** 销售时间 */
  @ApiModelProperty(value = "出售时间")
  private Date sellDate;
  /** 备注 */
  @ApiModelProperty(value = "备注")
  private String comment;
}
